package com.sfddata.musicpillow.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sfddata.musicpillow.common.utils.PageUtils;
import com.sfddata.musicpillow.user.entity.EquipWithPhone;
import com.sfddata.musicpillow.user.entity.EquipmentInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author jyo
 * @email 820389501@qq.com
 * @date 2022-08-08 13:35:41
 */
public interface EquipmentInfoService extends IService<EquipmentInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<EquipmentInfoEntity> getByUserId(Integer id);

    void saveWithUser(EquipWithPhone info);

    void removeRelation(EquipWithPhone info);

    EquipmentInfoEntity insertNotExit(EquipmentInfoEntity equip);
}

